package com.zk.shop.pojo;

public class User {

    private Integer uid;
    private String username;
    private String upwd;
    private String phone;
    private String wxId;
    private String alipayId;
    private String idcard;
    private String relname;

    public User() {

    }

    public User(String username, String upwd, String phone) {
        this.username = username;
        this.upwd = upwd;
        this.phone = phone;
    }

    public User(String username, String upwd, String phone, String wxId) {
        this.username = username;
        this.upwd = upwd;
        this.phone = phone;
        this.wxId = wxId;
    }

    public User(Integer uid,String alipayId) {
        this.uid = uid;
        this.alipayId = alipayId;
    }

    public User(String wxId,Integer uid) {
        this.uid = uid;
        this.wxId = wxId;
    }

    public User(String username, String upwd) {
        this.username = username;
        this.upwd = upwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", upwd='" + upwd + '\'' +
                ", phone='" + phone + '\'' +
                ", wxId='" + wxId + '\'' +
                ", alipayId='" + alipayId + '\'' +
                ", idcard='" + idcard + '\'' +
                ", relname='" + relname + '\'' +
                '}';
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWxId() {
        return wxId;
    }

    public void setWxId(String wxId) {
        this.wxId = wxId;
    }

    public String getAlipayId() {
        return alipayId;
    }

    public void setAlipayId(String alipayId) {
        this.alipayId = alipayId;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getRelname() {
        return relname;
    }

    public void setRelname(String relname) {
        this.relname = relname;
    }
}
